package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PtclusterloadDao;
import com.bootdo.screen.domain.PtclusterloadDO;
import com.bootdo.screen.service.PtclusterloadService;



@Service
public class PtclusterloadServiceImpl implements PtclusterloadService {
	@Autowired
	private PtclusterloadDao ptclusterloadDao;
	
	@Override
	public PtclusterloadDO get(Integer id){
		return ptclusterloadDao.get(id);
	}
	
	@Override
	public List<PtclusterloadDO> list(Map<String, Object> map){
		return ptclusterloadDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ptclusterloadDao.count(map);
	}
	
	@Override
	public int save(PtclusterloadDO ptclusterload){
		return ptclusterloadDao.save(ptclusterload);
	}
	
	@Override
	public int update(PtclusterloadDO ptclusterload){
		return ptclusterloadDao.update(ptclusterload);
	}
	
	@Override
	public int remove(Integer id){
		return ptclusterloadDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return ptclusterloadDao.batchRemove(ids);
	}
	
}
